//
//  Pool.h
//  sfdcFuse
//
//  Created by Simon Fell on 2/20/07.
//  Copyright 2007 Simon Fell. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface Pool : NSObject {
	NSMutableArray *spares;
	id 				master;
	int				maxToKeep;
}

- (id)initWithMaster:(id)masterObject maxPoolItems:(int)max;
- (id)checkout;
- (void)checkin:(id)item;
@end
